//
//  HWMyInfoManager.h
//  嗨文
//
//  Created by 响当当 on 2019/3/22.
//  Copyright © 2019年 dongzheng. All rights reserved.
//

#import <Foundation/Foundation.h>


#define MyInfoManager [HWMyInfoManager manager]

@interface HWMyInfoManager : NSObject
/**
 *   初始化
 */
+ (HWMyInfoManager *_Nonnull)manager;

/**
 *   个人信息 1.access_token
 */
- (void)getMyInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   我的钱包 1.access_token
 */
- (void)getWallet:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   我的钱包里金币获得记录 1.access_token 2.sourceType
 */
- (void)getWalletCoinRecord:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   vip充值 1.access_token
 */
- (void)getVip:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   书券充值 1.access_token
 */
- (void)getBookCoin:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   我的评论 1.access_token 2.pageNum 3.pageSize
 */
- (void)getMyComment:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   提交意见 1.access_token 2.advice 3.wxAccount 4.phoneNum
 */
- (void)gadmitAdvice:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   兑换书币 1.access_token bookcoin
 */
- (void)getChangeBookCoin:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   兑换金钱 1.access_token cash
 */
- (void)getChangeMoney:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   个人信息 1.access_token
 */
- (void)personInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   设置支付宝账号 1.access_token 2.aliPayName 3.aliPayAccount
 */
- (void)setAiPayCount:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   设置支付宝账号 1.access_token 2.pageNum 3.pageSize
 */
- (void)setBookPassTime:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   vip充值记录 1.access_token 2.month 3.year
 */
- (void)setVipRechargeNote:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   消费记录 1.access_token 2.month 3.year
 */
- (void)setConsumeRecord:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   充值 1.access_token
 */
- (void)setBookToken:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   金币兑换记录 1.access_token
 */
- (void)setGoldenExChangeInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   余额兑现激励 1.access_token
 */
- (void)setMoneyExChangeInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   余额提现 1.access_token
 */
- (void)setCashWithdrawal:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   余额提现列表数据 1.access_token 2.haiLevel 3.pageNum 4.pageSize
 */
- (void)setCashWithdrawalList:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   阅读记录 1.access_token 2.pageNum 3.pageSize
 */
- (void)setReadRecordInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   系统通知 1.access_token 2.pageNum 3.pageSize
 */
- (void)setSystemList:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   获取书本信息 1.access_token 2.chapterCoin 3.chapterId
 */
- (void)getBookContext:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   是否要购买 1.access_token 2.chapterCoin 3.chapterId
 */
- (void)getBookContextPay:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   获取目录 1.access_token 2.bookId 3.pageNum 4.pageSize
 */
- (void)getBookIndexInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   设置支付宝 1.access_token
 */
- (void)setGetAccountAPayInfo:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *  修改个人头像信息
 */
- (void)modifyHeadImg:(UIImage *)image Sucess:(void(^)(id resopnse))sucess fail:(void(^)(NSError *error))fail;

/**
 *   验证支付结果
 */
- (void)checkPayResult:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   支付隐藏
 */
- (void)hidePay:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   获取小说种类  1.access_token
 */
- (void)getBookList:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *  上传图片
 */
- (void)postImgsListWithImgList:( NSArray *_Nonnull)imgList Sucess:(void(^_Nonnull)(_Nonnull id acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   小说评论
 */
- (void)addCommentComplete:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;

/**
 *   排行榜 1.access_token 2.pageSize
 */
- (void)getLevelList:(NSDictionary *_Nonnull)prarmers sucess:(void(^_Nullable)(id _Nonnull acceptData))sucess fail:(nonnull void(^)( NSError * _Nullable error))fail;
@end
